package com.karry.yl.domain.baseinfo;

import com.baomidou.mybatisplus.annotations.TableName;
import com.karry.commons.base.SuperEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 奖补记录
 */
@TableName("grants")
public class Grants extends SuperEntity {

    private Long orgId; //机构名称
    private String orgName; //机构名称
    private int category;  //奖补类型
    private int name; //项目名称
    private int type; //1:奖补 2：捐赠
    private BigDecimal monery; // 金额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;


    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigDecimal getMonery() {
        return monery;
    }

    public void setMonery(BigDecimal monery) {
        this.monery = monery;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
}
